package com.ruoyi.workflow.domain;

import lombok.*;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 流程定义节点对象 bus_bpmn_node
 *
 * @author shier
 * @date 2022-11-17
 */
@ToString
@Getter
@Setter
@TableName("bus_bpmn_node")
public class BpmnNode extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long   id;
    private Long   bpmnInfoId;
    private String nodeKey;  // 流程定义里的节点
    private String nodeDesc; // 节点描述

    @TableField(exist = false)
    private List<Long> auditors; // 审核人员列表
}
